import Vue from 'vue'
import {Button,
		Loading,
		Message,
		Row,
		Col,
		Carousel,
		CarouselItem,
		Rate,
		Input
} from 'element-ui';

Vue.component(Button.name, Button);
Vue.component(Row.name, Row);
Vue.component(Col.name, Col);
Vue.component(Carousel.name, Carousel);
Vue.component(CarouselItem.name, CarouselItem);
Vue.component(Rate.name, Rate);
Vue.component(Input.name, Input);
Vue.use(Loading.directive);

Vue.prototype.$loading = Loading.service;
Vue.prototype.$message = Message;